Askany\AjaxHandler B

Total Complexity 100
Dependencies 1
Dependents 2
Total lines 532
Lines of code 392
Logical lines of code 216
Comment lines 27
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
test_api_connection()
A
42 15 54
save_settings()
A
44 14 39
chat_response()
A
48 10 34
rest_chat_response()
A
49 10 28
update_qa_pair()
A
50 9 26
add_qa_pair()
S
52 7 25
process_pdf()
S
50 6 27
delete_qa_pair()
S
53 5 24
get_qa_pair()
S
53 5 24
delete_pdf()
S
55 5 19
get_provider_settings()
S
54 4 20
reindex_content()
S
58 3 15
clear_chat_history()
S
58 3 14
init()
S
57 1 16
log_chat_history()
S
61 1 13
register_rest_routes()
S
68 1 7
__construct()
S
69 1 7